package cn.javastudy.design._3_行为型模式._状态模式;

/**
 * @author sumou
 * @date 2025/01/24
 */
public interface ILift {

    /**
     * 开门状态
     */
    public final static int OPENING_STATE = 1;

    /**
     * 关门状态
     */
    public final static int CLOSING_STATE = 2;

    /**
     * 运行状态
     */
    public final static int RUNNING_STATE = 3;

    /**
     * 停止状态
     */
    public final static int STOPPING_STATE = 4;

    public void open();
    public void close();
    public void run();
    public void stop();

}
